export default {
	setToken(state, token) {
		state.token = token
		uni.setStorageSync('token', token)
	},
	clearToken(state) {
		state.token = ''
		uni.setStorageSync('token', state.token)
	}
}